package com.macro.pojos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_goods_full_reduction")
@ApiModel(value = "产品满减表(只针对同商品)")
public class UiGoodsFullReduction {

    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 商品货号
     */
    @ApiModelProperty(value = "商品货号")
    @TableField("goods_sn")
    private String goodsSn;

    /**
     * 达到满减条件的金额
     */
    @ApiModelProperty(value = "达到满减条件的金额")
    @TableField("full_price")
    private java.math.BigDecimal fullPrice;

    /**
     * 减免的金额
     */
    @ApiModelProperty(value = "减免的金额")
    @TableField("reduce_price")
    private java.math.BigDecimal reducePrice;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private java.util.Date createdTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("updated_time")
    private java.util.Date updatedTime;

    /**
     * 删除 1是 0否
     */
    @ApiModelProperty(value = "删除 1是 0否")
    @TableField("is_deleted")
    private Integer isDeleted;


}
